/* vim: set ts=2 et sw=2 cindent fo=qroca: */

package com.globant.google.mendoza.command;

/** This class decorates the result of the mendoza server command.
 */
public final class DefaultResultDecorator {

  /** The content type of the decorated result. */
  public static final String CONTENT_TYPE = "text/plain";

  /** Decorated the command result.
   *
   * @param result The mendoza server command result.
   *
   * @return Returns the decorated command result.
   */
  public String decorate(final MendozaCommandResult result) {
    return result.getMessage();
  }
}
